package com.xyd.services;

import com.xyd.pojo.User;

import java.util.List;

public interface UserService {
    List<User> getAll();
    User login(User user);
    User findByName(String nickName);
    int addUser(User user);
}
